home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / sortdir2.pdn < prev    next >
Text File  |  1991-09-15  |  2KB  |  59 lines

  1. SORTDIR v1.02  (C)1991 Cornel Huth                      9-Sep-1991
  2.  
  3. Description:
  4.  
  5. Directory packer and sorter. Works with 320/360K, 720/1.44M,
  6. and 1.2M floppy, hard drives and also large partition hard
  7. drives (32MB+).
  8.  
  9. ASM source included.
  10.  
  11. C>SD [options] * sort current directory by filename [options]
  12.   options:
  13.  
  14.   SD /e    * by ext.filename (default)
  15.   SD /n    * by filename.ext
  16.   SD /h    * help with anything other CLP
  17.  
  18. NOTES:
  19.  
  20. See source code header for more information.
  21.  
  22. Code requires DOS 3.2+ for IOCTL functions. Requires MASM 5.1
  23. to assemble. Should work on any DOS machine since everything
  24. is DOS done. User documentation, you're looking at it.
  25.  
  26. LIMITATIONS (some could be considered benifits):
  27.  
  28. Operates on current drive/current directory only. Will not
  29. sort entries prior to any hidden, system, or subdirectory
  30. entries. Root directory must lie in the first 64K sectors
  31. of the DOS drive(no problem). FAT must be less than 64K (no
  32. problem). Maximum of 1792 directory entries per subdirectory
  33. (seems like enough). Sort source not included (how does that
  34. grab you?)
  35.  
  36. Being a programmer I'm always deleting working files. I like
  37. to keep my subs packed and files grouped by extension. 32MB+
  38. parts made Norton DS unusable so PCTools 4.22 had been used
  39. to sort subdirs on large DOS 3.31 parts. HOWEVER, in writing
  40. this code (using PCT422 for direct disk access) I noticed PCT422
  41. becomes real flakey (try accessing, say, cluster# 18,000, or
  42. even 10,000)--a real good reason to have a dir sort program
  43. written for large partitions.
  44.  
  45.  NOTICE: NOTICE: NOTICE: NOTICE: NOTICE: NOTICE: NOTICE: NOTICE:
  46. ----------------------------------------------------------------
  47. >>>>>>>> THIS SOURCE CODE IS *NOT* PUBLIC DOMAIN <<<<<<<<<<<<<<<
  48. ----------------------------------------------------------------
  49. I allow you to modify this source ONLY for your personal,
  50. non-commercial use. You may NOT distribute this source if altered
  51. in any way. You may NOT distribute any directory sorting program
  52. derived from this source. If you can't abide by these terms then
  53. don't use any of this code.
  54.  
  55. Report bugs to:
  56.  
  57. FIDONET 80xxx conference
  58.  
  59.